package com.zhangtai.modules.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class CertificateDto {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)

    private Long id;
    /**
     *
     */
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long oid;
    /**
     *
     */
    @ApiModelProperty("申请人工号")
    private String applierCode;
    /**
     *
     */
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    @ApiModelProperty("甲方主体id")
    private Long companyId;
    /**
     *
     */
    @ApiModelProperty("甲方主体名称")
    private String company;
    /**
     *
     */
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    @ApiModelProperty("模板id")
    private Long modelId;
    /**
     *
     */
    @ApiModelProperty("模板类型")
    private String modelName;
    /**
     *
     */
    @ApiModelProperty("月薪")
    private BigDecimal salary;
    /**
     *
     */
    @ApiModelProperty("工作地址")
    private String workAddress;
    /**
     *
     */
    @ApiModelProperty("HR联系方式")
    private String hrContract;
    /**
     *
     */
    @ApiModelProperty("HR名称")
    private String hrName;
    /**
     *
     */
    @ApiModelProperty("bpm链接")
    private String bpmUrl;
    /**
     *
     */
    @ApiModelProperty("审批状态 0：未发起 1审批中 2：审批通过")
    private String status;
    /**
     *
     */
    private Integer isDelete;
    @ApiModelProperty("工号")
    private String code;


    private String unitName;

    private String jobName;

    private String orgName;

    @ApiModelProperty("e签宝地址")
    private String contractEsignUrl;
    @ApiModelProperty("阿里云地址")
    private String contractOssUrl;

    private String position;

    @ApiModelProperty("创建时间")
    private Date createTime;

    private String name;
}
